<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<div class="pageContent">
    <form action="${ctx }/teacher/payLecture" method="post"
          onsubmit="return validateCallback(this,dialogAjaxDone);">
          <input type="hidden" name="tchId" value="${tchUserVo.userId }">
        <div class="pageFormContent" layoutH="56">
            <p>
                <label>老师名称：</label>
                <input type="text" name="tchName" value="${tchUserVo.nickname }" class="required" maxlength="100" readonly="readonly"/>
            </p>
            <div class="divider"></div>
            
            <p>
                <label>已完成课时数：</label>
                <input type="text" name="tchName" value="${tchUserVo.teachedLectures }" class="required" maxlength="100" readonly="readonly"/>
            </p>
            <div class="divider"></div>
            
            <p>
                <label>支付课时数：</label>
                <input type="text" name="payLectures" class="required" maxlength="100"/>
            </p>
            <div class="divider"></div>
            
            <p>
                <label>已支付课时数：</label>
                <input type="text" name="paiedLectures" value="${tchUserVo.paiedLectures }" class="required" maxlength="100" readonly="readonly"/>
            </p>
            <div class="divider"></div>
            
            <p>
                <label>每节课费用：</label>
                <input type="text" name="rate" value="<fmt:formatNumber value="${tchUserVo.rate == null ? 0 : tchUserVo.rate/100 }" pattern="0.00" />" class="required" maxlength="100" readonly="readonly"/>
            </p>
            <div class="divider"></div>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">保存</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>

